#ifndef _HTTPSERVER_H_
#define _HTTPSERVER_H_
#include"Accept.h"
#include"EpollLoop.h"
#include<string>

using std::string;

namespace http_server
{
class HttpServer
{
	public:
		HttpServer(const size_t port);
		HttpServer(const string& ip, const size_t port);

		void start();
		
	private:
		Accept _accept;
		EpollLoop _epoll;

};

}

#endif
